-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix]: Tapping outside quickly after clear status leads the user going back to the report screen #40364
Conversation
@thesahindia Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
friendly bump @thesahindia for review :) |
Gentle bump @thesahindia |
Waiting for @youssef-lr's reply on #39848 (comment) |
PR ready for review @thesahindia |
Will review today! |
@nkdengineer, I can still repro the issue that you mentioned in #39848 (comment) Screen.Recording.2024-05-20.at.9.38.41.AM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-23.at.9.09.29.PM.movAndroid: mWeb ChromeScreen.Recording.2024-05-23.at.9.13.54.PM.moviOS: NativeScreen.Recording.2024-05-20.at.9.26.19.AM.moviOS: mWeb SafariScreen.Recording.2024-05-20.at.9.27.22.AM.movMacOS: Chrome / SafariScreen.Recording.2024-05-20.at.9.33.54.AM.movMacOS: DesktopScreen.Recording.2024-05-23.at.8.16.53.PM.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
bump to @youssef-lr for approval |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.77-11 🚀
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.77-11 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|
Details
Central Pane
used to change because of the call to go back to previous route if we quickly tap outside before the clear status action was completed, In this PR we add a condition to first check if the RHP is still open and then only execute thego back
callFixed Issues
$ #39848
PROPOSAL: #39848 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Important
The Central pane shouldn't change, this is the expected result
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
MacOS: Desktop
Screen.Recording.2024-04-18.at.12.12.35.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-18.at.12.11.09.AM.mov
Android: Native
Screen_recording_20240418_002656.webm
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-04-18.at.00.20.51.mp4
iOS: mWeb Safari
Screen.Recording.2024-04-18.at.12.17.35.AM.mov